package com.youlai.boot.modules.tp.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * KPI核心指标响应VO
 * 
 * @author xiheforever
 * @since 2025-06-04
 */
@Schema(description = "KPI核心指标")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class KPIMetricsVO {

    @Schema(description = "今日GMV")
    private BigDecimal todayGMV;

    @Schema(description = "GMV增长率(%)")
    private BigDecimal gmvGrowth;

    @Schema(description = "销售目标达成率(%)")
    private BigDecimal targetAchievement;

    @Schema(description = "目标增长率(%)")
    private BigDecimal targetGrowth;

    @Schema(description = "月度销售目标")
    private BigDecimal monthlyTarget;

    @Schema(description = "今日订单量")
    private Integer todayOrders;

    @Schema(description = "订单增长率(%)")
    private BigDecimal ordersGrowth;

    @Schema(description = "昨日订单量")
    private Integer yesterdayOrders;

    @Schema(description = "转化率(%)")
    private BigDecimal conversionRate;

    @Schema(description = "转化率变化(%)")
    private BigDecimal conversionChange;

    @Schema(description = "平均转化率(%)")
    private BigDecimal avgConversionRate;
} 